package app.webapplication;


import org.vaadin.navigator7.window.HeaderFooterFluidAppLevelWindow;

import com.vaadin.ui.Component;
import com.vaadin.ui.HorizontalLayout;
import com.vaadin.ui.Label;

public class MyAppLevelWindow extends HeaderFooterFluidAppLevelWindow {

	@Override
	protected Component createHeader() {
		
		HorizontalLayout layout = new HorizontalLayout();	
		Label label = new Label("<h1>This will be the Header</h1>", Label.CONTENT_XHTML);
		layout.addComponent(label);
		
		return layout;
	}
	
	@Override
	protected Component createFooter() {
		
		HorizontalLayout layout = new HorizontalLayout();		
		Label label = new Label("<h1>This will be the Footer</h1>", Label.CONTENT_XHTML);
		layout.addComponent(label);
		
		return layout;
	}
}
